package com.jms.product.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jms.common.utils.PageUtils;
import com.jms.common.utils.Query;

import com.jms.product.dao.UserBaseDao;
import com.jms.product.entity.UserBaseEntity;
import com.jms.product.service.UserBaseService;


@Service("userBaseService")
public class UserBaseServiceImpl extends ServiceImpl<UserBaseDao, UserBaseEntity> implements UserBaseService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<UserBaseEntity> page = this.page(
                new Query<UserBaseEntity>().getPage(params),
                new QueryWrapper<UserBaseEntity>()
        );

        return new PageUtils(page);
    }

}